interface OmitTodo {
  title: string
  description: string
  completed: boolean
}

type OmitTodoPreview = MyOmit<OmitTodo, 'description' | 'title'>

const omitTodo: OmitTodoPreview = {
  completed: false,
}

type MyOmit<T, S> = {
  [K in Exclude<keyof T, S>]: T[K]
}